﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Chinesys.Domain.InputValidations
{
    public class InputValidationException : Exception
    {
        public InputValidationBase Validator { get; set; }

        public InputValidationException(string message)
            : base(message)
        {

        }

        public InputValidationException(string message, InputValidationBase validator)
            : base(message)
        {
            this.Validator = validator;
        }
    }
}
